﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    /// 层绕机设备订单信息（备份）
    ///</summary>
    [SugarTable("order_layerwindingmachineequipmentr_bak")]
    public class OrderLayerwindingmachineequipmentrBak
    {
        /// <summary>
        /// 主键id
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 盘号
        ///</summary>
        [SugarColumn(ColumnName = "disc_Number")]
        public string DiscNumber { get; set; }

        /// <summary>
        /// 设备id
        ///</summary>
        [SugarColumn(ColumnName = "equipment_id")]
        public int EquipmentId { get; set; }

        /// <summary>
        /// 原材料id
        ///</summary>
        [SugarColumn(ColumnName = "rawmaterial_id")]
        public int RawmaterialId { get; set; }

        /// <summary>
        /// 拉拔设备订单表id
        ///</summary>
        [SugarColumn(ColumnName = "order_drawingequipment_id")]
        public long OrderDrawingequipmentId { get; set; }

        /// <summary>
        /// 班次id
        ///</summary>
        [SugarColumn(ColumnName = "shift_id")]
        public long ShiftId { get; set; }

        /// <summary>
        /// 重量
        ///</summary>
        [SugarColumn(ColumnName = "weight")]
        public string Weight { get; set; }

        /// <summary>
        /// 操作者
        ///</summary>
        [SugarColumn(ColumnName = "userid")]
        public int Userid { get; set; }

        /// <summary>
        /// 木托盘号
        ///</summary>
        [SugarColumn(ColumnName = "wooden_Pallet_No")]
        public string WoodenPalletNo { get; set; }

        /// <summary>
        /// 生产日期
        ///</summary>
        [SugarColumn(ColumnName = "productionTime")]
        public DateTime ProductionTime { get; set; }

        /// <summary>
        /// 开机时间
        ///</summary>
        [SugarColumn(ColumnName = "run_time")]
        public string RunTime { get; set; }

        /// <summary>
        /// 生产产品id
        ///</summary>
        [SugarColumn(ColumnName = "productionproduct_id")]
        public int? ProductionproductId { get; set; }

        /// <summary>
        /// 合格品1、合格2、不合格
        ///</summary>
        [SugarColumn(ColumnName = "qualifiedproducts")]
        public int Qualifiedproducts { get; set; }

        /// <summary>
        /// 包膜机id
        ///</summary>
        [SugarColumn(ColumnName = "coatingmachine_id")]
        public int? CoatingmachineId { get; set; }

        /// <summary>
        /// 缓存线id
        ///</summary>
        [SugarColumn(ColumnName = "cacheline_id")]
        public int? CachelineId { get; set; }

        /// <summary>
        /// 热缩膜机id
        ///</summary>
        [SugarColumn(ColumnName = "heatshrinkablefilmmachine_id")]
        public int? HeatshrinkablefilmmachineId { get; set; }

        /// <summary>
        /// 一片式包裹机id
        ///</summary>
        [SugarColumn(ColumnName = "onepiecewrappingmachine_id")]
        public int? OnepiecewrappingmachineId { get; set; }

        /// <summary>
        /// 激光喷码机id
        ///</summary>
        [SugarColumn(ColumnName = "laserinkjetprinter_id")]
        public int? LaserinkjetprinterId { get; set; }

        /// <summary>
        /// 视觉检测id(检查喷码是否正确)
        ///</summary>
        [SugarColumn(ColumnName = "visualinspection_id")]
        public int? VisualinspectionId { get; set; }

        /// <summary>
        /// 覆膜机id
        ///</summary>
        [SugarColumn(ColumnName = "mulchapplicator_id")]
        public int? MulchapplicatorId { get; set; }

        /// <summary>
        /// 码垛机id
        ///</summary>
        [SugarColumn(ColumnName = "stacker_id")]
        public int? StackerId { get; set; }

        /// <summary>
        /// 贴标机id
        ///</summary>
        [SugarColumn(ColumnName = "labelingmachine_id")]
        public int? LabelingmachineId { get; set; }
    }
}